const express = require("express");
const app = express();
const router = require("./src/router");
// 设置模板引擎
global.cache = {};
app.engine("art" /* 后缀 */, require("express-art-template"));
app.set("views", "./src/views"); // 设置应用程序视图的目录或目录数组
app.use("/", router);
app.listen(3500);
